package com.itsu.interfaces.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.itsu.pojo.vo.TestSoulOptionVo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_questions")
public class TestSoulQuestion implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;
    private String question;

    @TableField(exist = false)
    private List<TestSoulOptionVo> options;

}
